package com.erms.bean;

/**
 * Comment entity. @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 3783958163671610288L;
	// Fields

	private Integer		id;
	private Courseware	courseware;
	private User		user;
	private String		title;
	private String		content;
	private Integer		time;

	// Constructors

	/** default constructor */
	public Comment() {

	}

	/** full constructor */
	public Comment(Courseware courseware, User user, String title,
			String content, Integer time) {

		this.courseware = courseware;
		this.user = user;
		this.title = title;
		this.content = content;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {

		return this.id;
	}

	public void setId(Integer id) {

		this.id = id;
	}

	public Courseware getCourseware() {

		return this.courseware;
	}

	public void setCourseware(Courseware courseware) {

		this.courseware = courseware;
	}

	public User getUser() {

		return this.user;
	}

	public void setUser(User user) {

		this.user = user;
	}

	public String getTitle() {

		return this.title;
	}

	public void setTitle(String title) {

		this.title = title;
	}

	public String getContent() {

		return this.content;
	}

	public void setContent(String content) {

		this.content = content;
	}

	public Integer getTime() {

		return this.time;
	}

	public void setTime(Integer time) {

		this.time = time;
	}

}
